#include<stdio.h>
#include<string.h>
void Remove(char*s,const char*s2){
   char*dest= strstr(s,s2);
   while (dest!=NULL)
   {
    char*next=dest+strlen(s2);
   while(*next!='\0')
   {
    *dest++=*next++;
   }
   *dest='\0';
   dest=strstr(s,s2);
   }
   
   
}
int main(){
    char s[]="helloworld,helloworld";
    char s2[]="worl";
Remove(s,s2);
printf("%s\n",s);
    return 0;
}
